//把touken存入到本地缓存中
export const setToken = (token) => {
    localStorage.setItem("TOKEN", token);
}

//获取token
export const getToken = () => {
    return localStorage.getItem("TOKEN");
}

//清除token
export const clearToken = () => {
    localStorage.clear('TOKEN');
}